﻿
namespace SvCore.DbData;

public static partial class DbRedis
{
    #region 用户在不同服务器的Puid User:Puid:<Uuid> -- ConfigId -- Puid
    //存储 
    public static void SaveUuidPuid(long Uuid, int ConfigId, long Puid)
    {
        AHashSet($"{RdsUserPuid}:{Uuid}", ConfigId, Puid);
    }
    //读取
    public static long GetUuidPuid(long Uuid, int ConfigId)
    {
        return AHashGet($"{RdsUserPuid}:{Uuid}", ConfigId).ToLong();
    }
    #endregion
}
